package com.bj58.ecdata.dashboard.dbentity;

import java.util.HashMap;
import java.util.Map;

import com.bj58.ecdata.dao.annotation.NotDBColumn;
import com.bj58.ecdata.dao.annotation.Table;
import com.bj58.ecdata.dashboard.annotation.DBName;

@Table(name = "t_income_board_kpi_product")
@DBName
public class IncomeKPIOnlineAll {

	@NotDBColumn
	private static final Map<String, String> nameMap = new HashMap<String, String>();

	{
		nameMap.put("jingzhun", "精准");
		nameMap.put("zhiding", "置顶");
		nameMap.put("zhineng", "智能");
		nameMap.put("shuaxin", "刷新");
		nameMap.put("jianli", "简历");
		nameMap.put("qita", "其他");
		nameMap.put("pinpaiguanggao", "品牌广告");
		nameMap.put("pindaohezuo", "频道合作");
		nameMap.put("lianmeng", "联盟");
		nameMap.put("pinpaiKA", "品牌KA");
		nameMap.put("all", "总体");
	}

	/**
	 * 业务类型中文名
	 * 
	 * @return
	 */
	public String getProductTypeName() {
		return nameMap.get(this.getProduct_type());
	}

	private String stat_date;

	private String month_num;

	private String qtr_num;

	private String time_rate;

	private String stat_type;

	private String product_type;

	private int cash;

	private String cash_chain;

	private String cash_YOYO;

	public String getCash_YOYO() {
		return cash_YOYO;
	}

	public void setCash_YOYO(String cash_YOYO) {
		this.cash_YOYO = cash_YOYO;
	}

	private int task;

	private int avg_task;

	private int avg_complete;

	private String avg_bal;

	private String complete_rate;

	private String fore_rate;

	public String getStat_date() {
		return stat_date;
	}

	public void setStat_date(String stat_date) {
		this.stat_date = stat_date;
	}

	public String getMonth_num() {
		return month_num;
	}

	public void setMonth_num(String month_num) {
		this.month_num = month_num;
	}

	public String getQtr_num() {
		return qtr_num;
	}

	public void setQtr_num(String qtr_num) {
		this.qtr_num = qtr_num;
	}

	public String getTime_rate() {
		return time_rate;
	}

	public void setTime_rate(String time_rate) {
		this.time_rate = time_rate;
	}

	public String getStat_type() {
		return stat_type;
	}

	public void setStat_type(String stat_type) {
		this.stat_type = stat_type;
	}

	public String getProduct_type() {
		return product_type;
	}

	public void setProduct_type(String product_type) {
		this.product_type = product_type;
	}

	public int getCash() {
		return cash;
	}

	public void setCash(int cash) {
		this.cash = cash;
	}

	public String getCash_chain() {
		return cash_chain;
	}

	public void setCash_chain(String cash_chain) {
		this.cash_chain = cash_chain;
	}

	public int getTask() {
		return task;
	}

	public void setTask(int task) {
		this.task = task;
	}

	public int getAvg_task() {
		return avg_task;
	}

	public void setAvg_task(int avg_task) {
		this.avg_task = avg_task;
	}

	public int getAvg_complete() {
		return avg_complete;
	}

	public void setAvg_complete(int avg_complete) {
		this.avg_complete = avg_complete;
	}

	public String getAvg_bal() {
		return avg_bal;
	}

	public void setAvg_bal(String avg_bal) {
		this.avg_bal = avg_bal;
	}

	public String getComplete_rate() {
		return complete_rate;
	}

	public void setComplete_rate(String complete_rate) {
		this.complete_rate = complete_rate;
	}

	public String getFore_rate() {
		return fore_rate;
	}

	public void setFore_rate(String fore_rate) {
		this.fore_rate = fore_rate;
	}

	public static Map<String, String> getNamemap() {
		return nameMap;
	}

}
